{% extends 'base.html' %}
{% block page-content %}

    <div class="container">

    </div>
{% endblock %}


{% block page-scripts %}

    <script>
        var vm = new Vue({
            el: '#app',
            // 分割符: 修改vue中显示数据的语法, 防止与django冲突
            delimiters: ['[[', ']]'],
            components: {},
            data: {
                name: "",

            },
            created() {

            },
            methods: {
                async getData() {
                    //获取交流主记录
                    let data = {id: ""};
                    let res = await axiosget("{% url 'userinfodata' %}", data);
                    console.log(res);
                    if (res.code == 200) {
                        this.dataItem = res.data.items;
                    }
                },

            },
            computed: {
                // 计算属性的 getter
            }
        });

    </script>
{% endblock %}

{% block page-styles %}
    <style>
        form {
            font-size: 12pt;
        }
    </style>
{% endblock %}